using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 磅单扣税税费信息
    /// 数据条数:0
    /// 数据大小:16KB
    /// </summary>


    public class BillTaxationVo : BaseVo
    {
        #region Constract
        public BillTaxation mBillTaxation;
        public BillTaxationVo(BillTaxation billTaxation)
        {
            mBillTaxation = billTaxation;
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mBillTaxation.id; } set { mBillTaxation.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 注释:磅单Id
        /// 可空:YES
        /// </summary>

        public Int64? BillId { get { return mBillTaxation.billId; } set { mBillTaxation.billId = value; OnPropertyChanged(this, nameof(BillId)); } }

        /// <summary>
        /// 注释:磅单编号
        /// 可空:NO
        /// </summary>

        public String BillNumber { get { return mBillTaxation.billNumber; } set { mBillTaxation.billNumber = value; OnPropertyChanged(this, nameof(BillNumber)); } }

        /// <summary>
        /// 注释:税价Id
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? TaxesPriceId { get { return mBillTaxation.taxesPriceId; } set { mBillTaxation.taxesPriceId = value; OnPropertyChanged(this, nameof(TaxesPriceId)); } }

        /// <summary>
        /// 注释:当前税价
        /// 可空:YES
        ///默认值:0.000
        /// </summary>

        public Decimal? TaxesPrice { get { return mBillTaxation.taxesPrice; } set { mBillTaxation.taxesPrice = (decimal)value; OnPropertyChanged(this, nameof(TaxesPrice)); } }

        /// <summary>
        /// 注释:税费金额
        /// 可空:YES
        ///默认值:0.000
        /// </summary>

        public Decimal? TaxesMoney { get { return mBillTaxation.taxesMoney; } set { mBillTaxation.taxesMoney = value; OnPropertyChanged(this, nameof(TaxesMoney)); } }

        /// <summary>
        /// 注释:扣税状态  0 未扣 1 已扣除
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? TaxationStatus { get { return mBillTaxation.taxationStatus; } set { mBillTaxation.taxationStatus = value; OnPropertyChanged(this, nameof(TaxationStatus)); } }

        /// <summary>
        /// 注释:扣税时间
        /// 可空:YES
        /// </summary>

        public DateTime? TaxationTime { get { return mBillTaxation.taxationTime; } set { mBillTaxation.taxationTime = value; OnPropertyChanged(this, nameof(TaxationTime)); } }

        /// <summary>
        /// 注释:净重
        /// 可空:YES
        ///默认值:0.000
        /// </summary>

        public Decimal? NetWeight { get { return mBillTaxation.netWeight; } set { mBillTaxation.netWeight = value; OnPropertyChanged(this, nameof(NetWeight)); } }

        /// <summary>
        /// 注释:上传状态 0 未上传 1 已经上传
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? UpStatus { get { return mBillTaxation.upStatus; } set { mBillTaxation.upStatus = value; OnPropertyChanged(this, nameof(UpStatus)); } }

        /// <summary>
        /// 注释:数据同步时间
        /// 可空:YES
        /// </summary>

        public Int64? SyncTime { get { return mBillTaxation.syncTime; } set { mBillTaxation.syncTime = value; OnPropertyChanged(this, nameof(SyncTime)); } }

        /// <summary>
        /// 注释:所属公司的Id
        /// 可空:NO
        ///默认值:0
        /// </summary>

        public Int64 AffiliatedCompanyId { get { return mBillTaxation.affiliatedCompanyId; } set { mBillTaxation.affiliatedCompanyId = value; OnPropertyChanged(this, nameof(AffiliatedCompanyId)); } }

        /// <summary>
        /// 注释:煤种id
        /// 可空:NO
        ///默认值:0
        /// </summary>

        public Int64 MaterialId { get { return mBillTaxation.materialId; } set { mBillTaxation.materialId = value; OnPropertyChanged(this, nameof(MaterialId)); } }

        /// <summary>
        /// 注释:状态 1正常 0 异常
        /// 可空:NO
        ///默认值:1
        /// </summary>

        public Int32 Status { get { return mBillTaxation.status; } set { mBillTaxation.status = value; OnPropertyChanged(this, nameof(Status)); } }

        /// <summary>
        /// 注释:备注
        /// 可空:YES
        /// </summary>

        public String Remark { get { return mBillTaxation.remark; } set { mBillTaxation.remark = value; OnPropertyChanged(this, nameof(Remark)); } }

    }
}
